package main

import "fmt"

func main() {
	var any interface{}
	any = 1
	fmt.Println(any)

	any = "hello"
	fmt.Println(any)

	any = false
	fmt.Println(any)

	var b = any.(bool)
	ok := any.(bool)
	fmt.Println(ok, b)

	switch v := any.(type) {
	case bool:
		fmt.Println("bool", v)
		break
	default:
	}
}
